<template>
  <div style="padding: 0 15px">
    <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1721032401923" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1924" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32">
      <path :fill="topTheme.includes('linear') ? 'rgba(44, 78, 120, 1)' : '#fff'" d="M192 128h640a64 64 0 0 1 64 64v640a64 64 0 0 1-64 64H192a64 64 0 0 1-64-64V192a64 64 0 0 1 64-64z m133.44 256a96 96 0 0 0 181.12 0H800a32 32 0 0 0 0-64H506.56a96 96 0 0 0-181.12 0H224a32 32 0 0 0 0 64h101.44z m192 320a96 96 0 0 0 181.12 0H800a32 32 0 0 0 0-64h-101.44a96 96 0 0 0-181.12 0H224a32 32 0 0 0 0 64h293.44z" p-id="1925"></path>
    </svg>
  </div>
</template>

<script setup>
import useSettingsStore from "@/store/modules/settings";

const settingsStore = useSettingsStore();
const topTheme = computed(() => settingsStore.topTheme);

defineProps({
  isActive: {
    type: Boolean,
    default: false,
  },
});

const emit = defineEmits();
// const toggleClick = () => {
//   emit('toggleClick');
// }
</script>

<style scoped>
.hamburger {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}

.hamburger.is-active {
  transform: rotate(180deg);
}
</style>
